package com.cqjtu.eecs.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cqjtu.eecs.entity.dto.UserDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserVO对象", description="用户")
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总记录数")
    private Long Total;

    @ApiModelProperty(value = "当前页")
    private Long currentPage;

    @ApiModelProperty(value = "当前页大小")
    private Long currentSize;

    @ApiModelProperty(value = "用户list")
    private List<UserDTO> userList;



    public UserVO() {
    }

    public UserVO(Long total, Long currentPage, Long currentSize, List<UserDTO> userList) {
        Total = total;
        this.currentPage = currentPage;
        this.currentSize = currentSize;
        this.userList = userList;
    }
}
